package com.itheima.health.dao;

import com.itheima.health.pojo.Order;
<<<<<<< HEAD
import org.springframework.stereotype.Repository;
=======

>>>>>>> adc48831cde55357ef0420c5deac2882fa85ad7a

import java.util.List;
import java.util.Map;

@Repository // 加和不加没有影响
public interface OrderDao {

    List<Order> findOrderListByOrderCondition(Order paramOrder);

    void add(Order order);

    Map findById(Integer id);

    int getTodayOrderNumber(String date);

    int getTodayVisitsNumber(String date);

    int getThisWeekAndMonthOrderNumber(Map<String, Object> map);

    int getThisWeekAndMonthVisitsNumber(Map<String, Object> map);

    List<Map<String,Object>> findHotSetmeal();
}
